package com.beiwei.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.beiwei.auto.mode.WeekgroupExample;
import com.beiwei.mapper.VGroupMapper;

@Service
public class GroupService {
	@Autowired
	private VGroupMapper groupMapper;

	/**
	 * 查询出group的数量
	 */
	public int getCount() throws Exception {
		WeekgroupExample example = new WeekgroupExample();
		return groupMapper.countByExample(example);
	}

	

}
